package com.dmap.admin.po;

import java.io.Serializable;

public class Project implements Serializable {
    /**
     * 主键id
     * 表字段 : project.id
     */
    private Long id;

    /**
     * 对应的app的id
     * 表字段 : project.app_id
     */
    private Long appId;

    /**
     * 对应的设备类型id
     * 表字段 : project.device_type_id
     */
    private Long deviceTypeId;

    /**
     * 对应的设备id
     * 表字段 : project.device_id
     */
    private Long deviceId;

    /**
     * 这个项目是属于那个公司的
     * 表字段 : project.company_id
     */
    private Long companyId;

    /**
     * 所属公司编号
     * 表字段 : project.company_number
     */
    private String companyNumber;

    /**
     * 所属公司名称
     * 表字段 : project.company_name
     */
    private String companyName;

    /**
     * 所属公司类型：1.总公司， 2分公司
     * 表字段 : project.company_type
     */
    private Integer companyType;

    /**
     * 状态：1正常，2禁用
     * 表字段 : project.status
     */
    private Integer status;

    /**
     * 最后更新者类型（新增时为创建者类型）：1.公司管理员，2.部门管理员，3.普通用户
     * 表字段 : project.user_type
     */
    private Integer userType;

    /**
     * 该条记录是由谁创建的
     * 表字段 : project.creator_id
     */
    private Long creatorId;

    /**
     * 最后编辑者id
     * 表字段 : project.editor_id
     */
    private Long editorId;

    /**
     * 创建者账号
     * 表字段 : project.creator_account
     */
    private String creatorAccount;

    /**
     * 最后更新者账号
     * 表字段 : project.editor_account
     */
    private String editorAccount;

    /**
     * 创建时间
     * 表字段 : project.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : project.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table project
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table project
     *
     * @mbggenerated
     */
    public Project(Long id, Long appId, Long deviceTypeId, Long deviceId, Long companyId, String companyNumber, String companyName, Integer companyType, Integer status, Integer userType, Long creatorId, Long editorId, String creatorAccount, String editorAccount, Long createTime, Long updateTime) {
        this.id = id;
        this.appId = appId;
        this.deviceTypeId = deviceTypeId;
        this.deviceId = deviceId;
        this.companyId = companyId;
        this.companyNumber = companyNumber;
        this.companyName = companyName;
        this.companyType = companyType;
        this.status = status;
        this.userType = userType;
        this.creatorId = creatorId;
        this.editorId = editorId;
        this.creatorAccount = creatorAccount;
        this.editorAccount = editorAccount;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table project
     *
     * @mbggenerated
     */
    public Project() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.id
     *
     * @return the value of project.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.id
     *
     * @param id the value for project.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.app_id
     *
     * @return the value of project.app_id
     *
     * @mbggenerated
     */
    public Long getAppId() {
        return appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.app_id
     *
     * @param appId the value for project.app_id
     *
     * @mbggenerated
     */
    public void setAppId(Long appId) {
        this.appId = appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.device_type_id
     *
     * @return the value of project.device_type_id
     *
     * @mbggenerated
     */
    public Long getDeviceTypeId() {
        return deviceTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.device_type_id
     *
     * @param deviceTypeId the value for project.device_type_id
     *
     * @mbggenerated
     */
    public void setDeviceTypeId(Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.device_id
     *
     * @return the value of project.device_id
     *
     * @mbggenerated
     */
    public Long getDeviceId() {
        return deviceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.device_id
     *
     * @param deviceId the value for project.device_id
     *
     * @mbggenerated
     */
    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.company_id
     *
     * @return the value of project.company_id
     *
     * @mbggenerated
     */
    public Long getCompanyId() {
        return companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.company_id
     *
     * @param companyId the value for project.company_id
     *
     * @mbggenerated
     */
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.company_number
     *
     * @return the value of project.company_number
     *
     * @mbggenerated
     */
    public String getCompanyNumber() {
        return companyNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.company_number
     *
     * @param companyNumber the value for project.company_number
     *
     * @mbggenerated
     */
    public void setCompanyNumber(String companyNumber) {
        this.companyNumber = companyNumber == null ? null : companyNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.company_name
     *
     * @return the value of project.company_name
     *
     * @mbggenerated
     */
    public String getCompanyName() {
        return companyName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.company_name
     *
     * @param companyName the value for project.company_name
     *
     * @mbggenerated
     */
    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.company_type
     *
     * @return the value of project.company_type
     *
     * @mbggenerated
     */
    public Integer getCompanyType() {
        return companyType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.company_type
     *
     * @param companyType the value for project.company_type
     *
     * @mbggenerated
     */
    public void setCompanyType(Integer companyType) {
        this.companyType = companyType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.status
     *
     * @return the value of project.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.status
     *
     * @param status the value for project.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.user_type
     *
     * @return the value of project.user_type
     *
     * @mbggenerated
     */
    public Integer getUserType() {
        return userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.user_type
     *
     * @param userType the value for project.user_type
     *
     * @mbggenerated
     */
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.creator_id
     *
     * @return the value of project.creator_id
     *
     * @mbggenerated
     */
    public Long getCreatorId() {
        return creatorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.creator_id
     *
     * @param creatorId the value for project.creator_id
     *
     * @mbggenerated
     */
    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.editor_id
     *
     * @return the value of project.editor_id
     *
     * @mbggenerated
     */
    public Long getEditorId() {
        return editorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.editor_id
     *
     * @param editorId the value for project.editor_id
     *
     * @mbggenerated
     */
    public void setEditorId(Long editorId) {
        this.editorId = editorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.creator_account
     *
     * @return the value of project.creator_account
     *
     * @mbggenerated
     */
    public String getCreatorAccount() {
        return creatorAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.creator_account
     *
     * @param creatorAccount the value for project.creator_account
     *
     * @mbggenerated
     */
    public void setCreatorAccount(String creatorAccount) {
        this.creatorAccount = creatorAccount == null ? null : creatorAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.editor_account
     *
     * @return the value of project.editor_account
     *
     * @mbggenerated
     */
    public String getEditorAccount() {
        return editorAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.editor_account
     *
     * @param editorAccount the value for project.editor_account
     *
     * @mbggenerated
     */
    public void setEditorAccount(String editorAccount) {
        this.editorAccount = editorAccount == null ? null : editorAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.create_time
     *
     * @return the value of project.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.create_time
     *
     * @param createTime the value for project.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column project.update_time
     *
     * @return the value of project.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column project.update_time
     *
     * @param updateTime the value for project.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table project
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", appId=").append(appId);
        sb.append(", deviceTypeId=").append(deviceTypeId);
        sb.append(", deviceId=").append(deviceId);
        sb.append(", companyId=").append(companyId);
        sb.append(", companyNumber=").append(companyNumber);
        sb.append(", companyName=").append(companyName);
        sb.append(", companyType=").append(companyType);
        sb.append(", status=").append(status);
        sb.append(", userType=").append(userType);
        sb.append(", creatorId=").append(creatorId);
        sb.append(", editorId=").append(editorId);
        sb.append(", creatorAccount=").append(creatorAccount);
        sb.append(", editorAccount=").append(editorAccount);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}